package com.eva.admin;

import com.eva.framework.common.spring.UniqueNameGenerator;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication(scanBasePackages = "com.eva",nameGenerator = UniqueNameGenerator.class)
@MapperScan(value = "com.eva.**.dao", nameGenerator = UniqueNameGenerator.class)
public class AdminApplication {

    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(AdminApplication.class);
        context.getEnvironment();
    }
}
